(function(global,factory){
    typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
    typeof define === 'function' && define.amd ? define(factory) :
    (global = global || self, global.lazyLoad = factory());
}(this,function(){

    let dtfOpt = {
        page:{
            pro:{
                pageNum:'page'
                ,pageSize:'pageSize'
                ,totalCount:'totalCount'
            }
            ,pageNum:1
            ,pageSize:10
            ,totalCount:1
        }
        //预加载
        ,prevLoad:{
            isEnable:true
            ,triggerTime:'lastOne'
            //如果是自定义triggerTime,请返回一个函数值
        }
    }

    let lazyLoad = function(){
        
    }

}));